package com.hyou.sc.zuul.config.web;

import java.util.List;

import com.hyou.common.base.BaseBean;

/**
 * 过滤器的相关配置属性
 * 
 * @author FengChangshuo
 * @version 1.0.0 2018-04-19 17:24:50 初始创建
 */
public class WebFilterProp extends BaseBean {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -3643195947812879482L;
    
    /**
     * 前置过滤器：鉴权过滤器顺序
     */
    private int preAuthOrder = 10;
    
    /**
     * JWT密钥
     */
    private String jwtSecretKey;
    
    /**
     * 免鉴权的URL列表
     */
    private List<String> freeAuthUrls;

    /**
     * @return 前置过滤器：鉴权过滤器顺序
     */
    public int getPreAuthOrder() {
        return this.preAuthOrder;
    }

    /**
     * @param preAuthOrder 前置过滤器：鉴权过滤器顺序
     */
    public void setPreAuthOrder(int preAuthOrder) {
        this.preAuthOrder = preAuthOrder;
    }
    
    /**
     * @return JWT密钥
     */
    public String getJwtSecretKey() {
        return this.jwtSecretKey;
    }

    /**
     * @param jwtSecretKey JWT密钥
     */
    public void setJwtSecretKey(String jwtSecretKey) {
        this.jwtSecretKey = jwtSecretKey;
    }

    /**
     * @return 免鉴权的URL列表
     */
    public List<String> getFreeAuthUrls() {
        return this.freeAuthUrls;
    }

    /**
     * @param freeAuthUrls 免鉴权的URL列表
     */
    public void setFreeAuthUrls(List<String> freeAuthUrls) {
        this.freeAuthUrls = freeAuthUrls;
    }

}
